package com.example.studygo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.studygo.mapper.UserMapper;
import com.example.studygo.model.User;
import com.example.studygo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 路老师
 * @date 2025/8/13
 * 无精神，不编程！无乐趣，不编程！
 * “调试：与bug共舞的艺术。”
 */
//@Service
//public class UserServiceImpl
//        extends ServiceImpl<userMapper, User>
//            implements UserService {
//}
import java.util.*;
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper,
        User> implements UserService {
    @Autowired
    UserMapper userMapper;
    public  List<User> ok()
    {
        return userMapper.getData();
    }
}
